package com.rivulet.doj_backend.pojo;

import javax.xml.crypto.Data;

public class Question {
    private Integer question_id;
    private Integer time_limit;
    private Integer memory_limit;
    private Integer difficulty;
    private String question_content;
    private String question_answer;
    private String upload_user_id;
    private Data upload_time;
    private Data updata_time;

    public Question() {
    }

    public Question(Integer question_id, Integer time_limit, Integer memory_limit, Integer difficulty, String question_content, String question_answer, String upload_user_id, Data upload_time, Data updata_time) {
        this.question_id = question_id;
        this.time_limit = time_limit;
        this.memory_limit = memory_limit;
        this.difficulty = difficulty;
        this.question_content = question_content;
        this.question_answer = question_answer;
        this.upload_user_id = upload_user_id;
        this.upload_time = upload_time;
        this.updata_time = updata_time;
    }

    public Integer getQuestion_id() {
        return question_id;
    }

    public void setQuestion_id(Integer question_id) {
        this.question_id = question_id;
    }

    public Integer getTime_limit() {
        return time_limit;
    }

    public void setTime_limit(Integer time_limit) {
        this.time_limit = time_limit;
    }

    public Integer getMemory_limit() {
        return memory_limit;
    }

    public void setMemory_limit(Integer memory_limit) {
        this.memory_limit = memory_limit;
    }

    public Integer getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(Integer difficulty) {
        this.difficulty = difficulty;
    }

    public String getQuestion_content() {
        return question_content;
    }

    public void setQuestion_content(String question_content) {
        this.question_content = question_content;
    }

    public String getQuestion_answer() {
        return question_answer;
    }

    public void setQuestion_answer(String question_answer) {
        this.question_answer = question_answer;
    }

    public String getUpload_user_id() {
        return upload_user_id;
    }

    public void setUpload_user_id(String upload_user_id) {
        this.upload_user_id = upload_user_id;
    }

    public Data getUpload_time() {
        return upload_time;
    }

    public void setUpload_time(Data upload_time) {
        this.upload_time = upload_time;
    }

    public Data getUpdata_time() {
        return updata_time;
    }

    public void setUpdata_time(Data updata_time) {
        this.updata_time = updata_time;
    }

    @Override
    public String toString() {
        return "Question{" +
                "question_id=" + question_id +
                ", time_limit=" + time_limit +
                ", memory_limit=" + memory_limit +
                ", difficulty=" + difficulty +
                ", question_content='" + question_content + '\'' +
                ", question_answer='" + question_answer + '\'' +
                ", upload_user_id='" + upload_user_id + '\'' +
                ", upload_time=" + upload_time +
                ", updata_time=" + updata_time +
                '}';
    }
}
